package com.jnu.keepaccounts.data;

import java.io.Serializable;
import java.util.Date;

public class DataTiaoMu extends Data implements Serializable {
    private int pictureId;
    private String name;
    private  double shue;
    private String source;
    private int yusuan = -1;//1是不计入预算 -1是计入预算
    public DataTiaoMu(){}
    public DataTiaoMu(int x,int pictureId,String name,double num,String source,int year,int month,int day,int yusuan,Long date) {
        super(x,year,month,day,date);
        this.pictureId = pictureId;
        this.name = name;
        this.shue = num;
        this.source = source;
        this.yusuan = yusuan;
    }

    public int getYusuan() {
        return yusuan;
    }

    public void setYusuan(int yusuan) {
        this.yusuan = yusuan;
    }

    public int getImage() {
        return pictureId;
    }

    public String getXiangMu() {
        return name;
    }

    public String getLaiYuan() {
        return source;
    }

    public double getShuE() {
        return shue;
    }
    public int getYear(){return super.getYear();}
    public int getMonth(){return super.getMonth();}
    public int getDay(){return super.getDay();}
    public void setPictureId(int pictureId){
        this.pictureId = pictureId;
    }
    public void setName(String name){
        this.name = name;
    }
    public void setShuE(double shue){
        this.shue = shue;
    }
    public void setSource(String source){
        this.source = source;
    }
    public void setYear(int year){super.setYear(year);}
    public void setMonth(int month) {
        super.setMonth(month);
    }
    public void setDay(int day) {
        super.setDay(day);
    }
    public void setFlag(int flag) {
        super.setFlag(flag);
    }

    public long getDate() {
        return super.getDate();
    }
    public void setDate(long date){
        super.setDate(date);
    }
}
